@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/present/present_add.js"]}){
<form id="presentForm" lay-filter="presentForm" class="layui-form model-form">
    <input name="id" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">商品id<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="goodsId" name="goodsId" placeholder="请输入商品id" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户id<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="playerId" name="playerId" placeholder="请输入用户id" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="userName" name="userName" placeholder="请输入用户名称" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">内容<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="text" name="text" placeholder="请输入内容" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">标识(置顶)<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="mark" name="mark" placeholder="请输入标识(置顶/)" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>

    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}